package com.tangding.controller.subpage.impl.user;

import org.springframework.stereotype.Component;
import org.springframework.web.servlet.ModelAndView;

import com.tangding.common.exception.GException;
import com.tangding.controller.hprose.HproseHelper;
import com.tangding.controller.subpage.ContentProcessor;

/**
 * @description 
 *
 * @author Ranger
 * @version 2017年11月16日_上午11:57:51
 *
 */
@Component("/subpage/user/userSearchResult.html")
public class UserSearchResult implements ContentProcessor {

	@Override
	public void doProcess(ModelAndView mav, String operate, String json) throws GException {
		Object result = HproseHelper.invoke(operate, json);
		mav.addObject("data", result);
	}
}
